fixed return statement and added filename help