Reflection spectrum for a thin film with non-uniform thickness