Removed addFile function