So the way that you're just assuming that the store dirs end in "/" and string catting onto them left and right? Should use path.join (http://nodejs.org/api/path.html#path_path_join_path1_path2).

Plus anytime you hardcode a "/" in a file path... a windows user sheds a tear.