Added new error message for empty filename