Updated to use routing.xml and generate uniqid filename