Changed from file exists to file