PHP Get file content and handle file not found exception