print file functions added