added test for exposing legacy file functionality