Nice file handling for downloads