Writing recent uploads to a file