removed log, cleaned up getfile