Changes done for file upload