Logic about locked files on Uploader scope redesigned