added some basic fit file reading functionality