Adding file with options.