made easy to use vars with id and filename