 								return callback(err) if err?
 								callback(null, file._id) # Created
 					else
-						err = new LinkedFilesErrors.OutputFileFetchFailedError(
+						err = new OutputFileFetchFailedError(
 							"Output file fetch failed: #{linkedFileData.build_id}, #{linkedFileData.source_output_file_path}"
 						)
 						err.statusCode = response.statusCode


	createLinkedFile: (project_id, linkedFileData, name, parent_folder_id, user_id, callback) ->
		if !@_canCreate(linkedFileData)
			return callback(new LinkedFilesErrors.AccessDeniedError())
		linkedFileData = @_sanitizeData(linkedFileData)
		@_prepare project_id, linkedFileData, user_id, (err, linkedFileData) =>
			return callback(err) if err?

				(err, status, outputFiles) ->
					return callback(err) if err?
					if status != 'success'
						return callback(new OutputFileFetchFailedError())
					outputFile = _.find(
						outputFiles,
						(o) => o.path == source_output_file_path
					)
					if !outputFile?
						return callback(new OutputFileFetchFailedError())
					build_id = outputFile.build
					ClsiManager.getOutputFileStream source_project_id,
						user_id,
