handling GET requests, returning requested file or error messages without headers