Fixed error when requesting file path that doesn't exist.