Small correction of files loaded in a method