reworked file module, made a 'module' a thing