Check if file exists. Improved the KVB.