Made it compatible with windows filepaths