implement moxie filereader (#319)