File.file? should be converted