fixed bug with not sending file name