mixed up file.toString and file.getName