use graceful-fs to avoid too many open files