LUN-1235: file paths should be updated only when folder path changes