bash script for generating file structure