added class adapter for file access to add additional functionality, however that does not appear to work, refactored necessary classes accordingly