 
 	public convenience init(open path: FilePath) throws {
 		guard let filehandle = FileHandle(forReadingAtPath: path.absoluteString) else {
-			try ReadableFile.errorForFile(at: path.absoluteString, writing: false)
+			try ReadableFile.errorForFile(at: path, writing: false)
 			fatalError("Should have thrown error when opening \(path.absoluteString)")
 		}
 		self.init(path: path, filehandle: filehandle)

		try self.init(open: FilePath(stringpath))
	}

	fileprivate static func errorForFile(at stringpath: String, writing: Bool) throws {
		guard let type = FileType(stringpath) else {
			throw FileSystemError.notFound(path: FilePath(stringpath))
		}
		if type == .directory {
			throw FileSystemError.isDirectory(path: DirectoryPath(stringpath))
		}
		throw FileSystemError.invalidAccess(path: FilePath(stringpath), writing: writing)
	}
}


	public convenience init(open path: FilePath) throws {
		try path.verifyIsInSandbox()
		guard let filehandle = FileHandle(forWritingAtPath: path.absoluteString) else {
			try WritableFile.errorForFile(at: path, writing: true)
			fatalError("Should have thrown error when opening \(path.absoluteString)")
		}
		self.init(path: path, filehandle: filehandle)
