Simple file reader and logger