Make sure file_rec is not negative