creating files for join and create communities