file not found error checking