added helper function, fs_open() and fs_attribute() should be close (if I'm not grossly misunderstanding the problem)