Handle nil filepath