fixed the file input