automatic association to files