use options hash for file adder