Add check if file actually exists!

Thanks to @ddrone for finding this issue.