Fix typo: File.directory -> File.directory?