Added File Existence Checking