Remove filesending code from main activity