files and directories now differentiable, though a better method may be needed