Add locked file uploading function, and so on