Fixed issue when filename was undefined