Feature/pffile

Implementation for #7