Fixed download of files