Add eos check in the file path