Use Preconditions to check for null arg and make sure that file actually exists.