Autocomplete filenames for downloading a file
Clean up code