A simple file code reader