Added windows support to file manager.

Used windows implementation of dirent.h and the winapi to add windows support to the file manager.