added support for sys files, started trying interrupt driven approach