Added functionality for filesend ability.