mmap file + changes to error handling to allow local decls anywhere in body.