use a copy of filename in Recording.cpp to make changes to filename