added uploadFiles function to contact class

Added this function to the contact class. This function uploads the
selected file and places it in chosen directory.