checking in a file