changing back to use files instead of classmap