support - some tuning of file attach

Cleaned up the file attach some.