added a basic local file reader