fix indents & add hooking routine for sys_open
removed backup files