Computer simulation of tension experiments of a thin film using an atomic model