added basic peak file support