Fixed file detection. And error detecting.