allow adding paths directly to files