New version of proc_files. Significantly refactored to make code
more orthogonal and more provide consistency among functionalities. Added error option to throw errors instead of give warnings.
Authored by: dwarren 2017-11-11
Parent: [r9132]
Child: [r9134]