publish files to proper paths