Added logic to upload files to projects