Fix to append full file path instead of only file name.