Support adding files by path rather than reading data