Solved concurrent file access while a file is lazy uploading