Adding interface and implementation for file system up to popen().