Forgot to check if file is locked/unlocked for non-thumb files