adding dl function for easy file downloads