fails:File.file? accepts an object that has a #to_path method
