Added function that names all files in directory