Added file input support and sample inputs