Now checks to make sure files exist. Fixes the bug where you get an MD5 even though the file doesnt exist.