implemented new file feature. generalized alert boxes.