add hamlet.txt add resource