fixed a bug in InternalFile initialization (an old bug not solved)