Removed unnecessary filename lookup