Perform some operations on files and directories