[Shell] Fixed improper File constructor usage