handling ADD and COPY, files and directories