rename file and create subdirectory