Created separate files for selection of files and uploading a file.