Got file type and file name working.