FOREIGN TAX FILING

Can you file US taxes first and then file an amended return to claim foreign taxes paid on all income that was earned in the United States?  I would be using the Spanish tax treaty that prevents double taxation on all my US income and claiming a foreign tax credit. 

Is there any draw back filing this way.