Introduce and export makeUrls(), restrict to 4 file types, better formatting of variable types