ADDED directory loading lowercase and filename uppercase