Reindent and use dots in filename