Added class with file methods.