FIX: addFile bug