This is the crappiest code I've ever written in my life - We need a file system command batch manager.