changed fs interface

added readString and writeString methods
added splfileinfo getter
psr compliant variable names
method visibility