Changed type of class to abstract, added static methods for file, list
and tests for them.