Import files from a directory for mongodb