now extracting filename on puppet level