perform unsavory system calls related to file I/O