Prevent resource reloading if file doesn't exist