Added ability to create different files.