app functional with hack around directories listing . and .. entries as well as files