Load File function implemented