adding methods for getting file contents