Before all files uploading