use single create_pathname function for both backup/current