Extension of nodejs file operations