directory and file setup