expand path definition to also include backup files and make the comment clear