Include file type in filename
Test all wariants of writing