fix file checks and add config option maximum eperd lines