Nanoscale design of films for extremely high density magnetic recording