rake file using mongodb