Changes to addFile..