Make filename an attr_accessor