accepting filename param