Add awk script for reconstructing folder hierarchy