small Python program for managing files by extention