added put method to add filename metadata