create process file function for processing uploaded video