added raw input for final filename