captures system call interruptions in file objects (read and write)