^ this is correct for your actual error.
However, I don't believe you can bound any structure as a part of the statement. The table name would include the structure; statements are designed to separate the structure of the table with the data to go within the table, so you can bind when providing information to insert or query from for example, but not for table names or properties.
Your second one doesn't work as the table name probably isn't $currentFile. Variables are not parsed in single quotations.
Yup, I can confirm that though it would be nice, you cannot prepare a table name. As PDO internally quotes or converts to a number or whatever it may be, when you try to add a table, it seems to treat it as a literal string, and a table name is not a literal string.
You'll either have to sanitize yourself and add it to the actual string before the prepare, or type it in. Given you should always know what the possible table names are, you can easily create an if series to test entered names against known names and only continue if there is a match.